package distinctIntegers;

public class Solution {
    int count=0;
    int []arr=new int[101];
    public int distinctIntegers(int n) {
        f(n);
        return count;
    }
    private void f(int n){
        for (int i = 1; i <=n ; i++) {
            if(n%i==1){
               if(arr[i]==0){
                count++;
                arr[i]=1;
                f(i);
               }
            }
        }
    }
}
